| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

JsonExporterWrapper.h
1 // JsonExporterWrapper.h
3 //
5
6 namespace nkAstraeus::nkExportWrap
7 {
11 class JsonExporterWrapper final
12 {
13 public :
14
15 // Environment update
21 static void updateEnvironment (nkScripts::Environment* env) ;
22
23 // Callbacks
34 static nkScripts::OutputValue exportTreeIntoString (const nkScripts::DataStack& stack) ;
45 static nkScripts::OutputValue importIntoTree (const nkScripts::DataStack& stack) ;
46 } ;
47 }
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkExportWrap
Encompasses the wrapping of nkExport for scripting.
Definition: Constants.h:7
nkAstraeus::nkExportWrap::JsonExporterWrapper
Wraps a nkExport::JsonExporter and offer functions for use in scripting.
Definition: JsonExporterWrapper.h:12
nkAstraeus::nkExportWrap::JsonExporterWrapper::exportTreeIntoString
static nkScripts::OutputValue exportTreeIntoString(const nkScripts::DataStack &stack)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkExportWrap::JsonExporterWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkExportWrap::JsonExporterWrapper::importIntoTree
static nkScripts::OutputValue importIntoTree(const nkScripts::DataStack &stack)